home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / WINDOWS / OWLBWCC.ARJ / BWRADIO.RC < prev    next >
Text File  |  1992-02-02  |  2KB  |  53 lines

  1. /********************************************************************/
  2. /* BWRADIO.RC defines a simple Borland Windows Custom Control       */
  3. /* Dialog Box that can be used as the main window.                  */
  4. /* Notice the CLASS "BORDLG" to activate the metalic background     */
  5. /* Also notice the special "Borshade" Control and BorCheck controls */
  6. /* Notice the order of the controls Borshade, then 4 radio buttons, */
  7. /* then a Borshade and 4 more radio buttons.  Also, notice that the */
  8. /* first radio button in each group has the Tab stop set.  The order*/
  9. /* and the tabstop are important in order to make the TAB and the   */
  10. /* arrow keys function correctly.                                   */
  11. /********************************************************************/
  12.  
  13. #include "windows.h"
  14. #include "bwcc.h"
  15.  
  16. MAINWINDOWDIALOG DIALOG 13, 25, 126, 130
  17. CAPTION "Borland Radio Buttons"
  18. CLASS "BORDLG"
  19. STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
  20. BEGIN
  21.     CONTROL "      Unit #12", 103, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE | WS_GROUP, 6, 60, 54, 66
  22.     CONTROL "Test", 110, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 72, 32, 10
  23.     CONTROL "Phase 1", 120, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 10, 84, 42, 10
  24.     CONTROL "Phase 2", 130, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 10, 96, 36, 10
  25.     CONTROL "Phase 3", 140, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 10, 108, 36, 10
  26.     CONTROL "       Unit #13", 103, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE | WS_GROUP, 66, 60, 54, 66
  27.     CONTROL "Test", 150, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 72, 72, 32, 10
  28.     CONTROL "Phase 1", 160, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 72, 84, 42, 10
  29.     CONTROL "Phase 2", 170, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 72, 96, 42, 10
  30.     CONTROL "Phase 3", 180, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 72, 108, 42, 10
  31.     CONTROL "", 102, "BorShade", 2 | WS_CHILD | WS_VISIBLE, 0, 54, 126, 1
  32.     CONTROL "", 101, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE, 6, 6, 114, 42
  33.     CTEXT "Radio Buttons Display", -1, 12, 12, 102, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  34.     CTEXT "A rotary choice control", -1, 12, 24, 102, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  35.     CTEXT "Only one of each group is ON.", -1, 12, 36, 102, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  36. END
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.